﻿using Grpc.Net.Client.Balancer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nacos.Provider.gRPC
{
    public class NacosRandomBalancerFactory : LoadBalancerFactory
    {
        public override string Name => "NacosRandom";

        public override LoadBalancer Create(LoadBalancerOptions options)
        {
            return new NacosRandomBalancer(options.Controller, options.LoggerFactory);
        }
    }
}
